package org.hcyspartnoc.luoxin.common.exception.common;


import org.hcyspartnoc.luoxin.common.exception.BaseException;

import java.io.Serial;

public class CommonUtilsException extends BaseException {
    @Serial
    private static final long serialVersionUID = 4179524892927701075L;

    public static final String CAPTCHA_NOT_RIGHT = "验证码过期或不正确";
    public static final String CAPTCHA_SEND_FAIL = "验证码发送失败";
    public static final String VISIT_TOO_BUSY = "访问过于频繁";
    public static final String CAPTCHA_VISIT_TOO_BUSY = "验证码访问过于频繁";
    public static final String SRC_UPLOAD_FAIL = "资源上传失败";
    public static final String SRC_NOT_EXISTS = "资源不存在";
    public static final String SRC_NOT_RIGHT = "资源不正确";
    public static final String AUDIO_PARSE_FAIL = "语音解析失败";

    public CommonUtilsException(String msg) {
        super(msg);
    }

    public CommonUtilsException(String msg, int code) {
        super(msg, code);
    }
}
